#!/usr/bin/python
# yongming.li

import string
import os

class Androidcontrol:

        ########################################################
        
	def __init__(self):
            self.name = 'Androidcontrol'
      
        def  setbrightness(self,value): 
            cmd =  'adb shell "echo %d > /sys/class/leds/lcd-backlight/brightness"'%(value)
            print cmd
            os.system(cmd)

